package da.metricscraft.client.threads;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class XMLFileFilter extends FileFilter {

	@Override
	public boolean accept(File f) {
		if (f.getAbsolutePath().toLowerCase().endsWith(".xml") || f.isDirectory()) return true;
		return false;
	}

	@Override
	public String getDescription() {
		return "*.xml";
	}

}
